﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Xml.XPath;

using GaugeEngine.Graphics;

namespace GaugeEngine
{
    public abstract class Behaviour
    {
        public enum BehaviourType
        {
            Normal,
            EventDriven
        }

        protected BehaviourType m_type;

        public BehaviourType Type
        {
            get { return m_type; }
        }

        protected Actor ParentActor;

        public Behaviour(Actor a)
        {
            ParentActor = a;
            m_type = BehaviourType.Normal;
        }

        public virtual void Update(GameTime gameTime) { }

        public virtual void Draw(Painter p) { }
    }
}
